package com.wondertek.service.dto.business.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author wangyu
 */
@Data
public class    WebDerReq {

    @Schema(name = "industryId",description = "行业类型id")
    private String industryId;


    @Schema(name = "deviceTypeId",description = "设备类型id")
    private String deviceTypeId;

    @Schema(name = "nameOrId",description = "设备sn或配件sn")
    private String nameOrId;


    @Schema(name = "status",description = "报警状态", hidden = true)
    private String status;

    @Schema(name = "errorType",description = "报警类型", hidden = true)
    private List<String> errorType;

    @Schema(name = "siteId",description = "站点id")
    private List<String> siteId;

    @Schema(name = "roomId",description = "房间id",hidden = true)
    private String roomId;

    @Schema(name = "errorTime",description = "报警时间", hidden = true)
    private Date errorTime;

    @Schema(name = "fixingTime",description = "处理时间", hidden = true)
    private Date fixingTime;

    @Schema(name = "startDate",description = "开始时间")
    private Date startDate;

    @Schema(name = "endDate",description = "结束时间")
    private Date endDate;

    @Schema(name = "type",description = "1:报警 3:事件 4:通知")
    private Integer type;

    @Schema(name = "pageNo",description = "当前页")
    private Integer pageNo = 1;

    @Schema(name = "pageSize",description = "页码")
    private Integer pageSize = 10;

    @Schema(name = "userId",description = "userId", hidden = true)
    private String userId;

    @Schema(name = "ids", description = "导出选择行数据-该属性有值时,其他条件失效")
    private List<String> ids;
}
